package com.game.core.net.common;

import com.google.protobuf.GeneratedMessage;

public class AbstractDomain 
{
	//TODO:这个用起来不方便，需要改
	public <M extends GeneratedMessage> void fromProtobuf(M protobufMsg)
	{
		
	}
	
	//TODO:这个用起来不方便，需要改
	public <M extends GeneratedMessage> M toProtobuf()
	{
		return null;
	}
	
	public void fromDBBean()
	{
		
	}
	
	public void toDBBean()
	{
		
	}

}
